package com.cs.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentCourse {
    private Integer id;
    private Integer studentId; // 学生ID
    private Integer courseId; // 课程ID
    private Integer status; // 状态（0：未完成，1：未通过 2：已通过）
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
